<template>
	<view>
		<view class="seek">
			<input type="text" value="" placeholder="输入关键字查询" />
		</view>
		<goods-list
			v-for="item in shopData"
			:key="item.objectId"
			:shop-data="item"
		/>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				shopData:[]
			}
		},
		onLoad() {
			this.$request.get('/1.1/classes/findShop').then(res=>{
				console.log(res)
				this.shopData = res.data.result
			})
		}
	}
</script>

<style lang="scss">
.seek{
	background-color: #eee;
	width: 700rpx;
	height: 58rpx;
	border-radius: 58rpx;
}
</style>
